body {
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
}


/* 头部 */

.header {
    background-color: #563d7c;
    height: 50px;
    color: #fff;
    line-height: 50px;
}

.header .title {
    font-size: 18px;
    float: left;
    cursor: pointer;
}

.header .search {
    width: 300px;
    float: left;
    margin-left: 50px;
}

.header .search input {
    float: unset;
}

.header .login-reg {
    float: right;
}

.header .login-reg button {
    margin-left: 15px;
}


/* 内容 */

.main {
    border: 1px solid #cdcdcd;
    border-radius: 4px;
    min-height: 800px;
    background-color: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
}

.main .left-container {
    border-right: 1px solid #cdcdcd;
    min-height: 800px;
}

.main .cates {
    color: #666;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.main .cate-list {
    padding: 0;
}

.main .cate-list li {
    margin: 10px 0;
    list-style: none;
}


/* 左侧导航选中样式 */

.cate-list .active {
    color: #563d7c;
    font-weight: 700;
}

.main .nav {
    text-align: right;
    padding-bottom: 10px;
    margin-top: 20px;
    border-bottom: 1px solid #f1f1f1;
}

.main .nav a {
    color: #666;
    padding: 0 10px 5px 10px;
    text-decoration: none;
}

.main .nav .active {
    font-weight: 700;
    border-bottom: 2px solid #337ab7;
}

.main .content-item {
    border-bottom: 1px solid #f1f1f1;
    list-style: none;
    padding: 10px 0;
    float: left;
    width: 100%;
}

.main .content-item img {
    width: 40px;
    float: left;
    margin-right: 15px;
}

.main .content-item .title {
    float: left;
}

.main .content-item p {
    margin-top: 3px;
    margin-bottom: 0;
    color: #666;
}

.main .content-item span {
    margin-right: 10px;
}


/* 查看人数 */

.main .glyphicon-eye-open {
    color: #aaa;
    font-size: 12px;
}


/* 文章详情 */

.d-cnt .d-title {
    text-align: center;
    color: #563d7c;
}

.d-cnt .d-time {
    text-align: right;
    color: #666;
}